package com.mnsq.common.dao;

import com.mnsq.common.bean.entity.permission.UserMenus;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author 周俭
 */
public interface UserMenusRepository extends JpaRepository<UserMenus, Long> {

    List<UserMenus> findAllByUserId(Long userId);
}
